Interest rates on plan 2 and 3 student loans will be capped at 6% from September following mounting criticism over the cost of repayments.